<?php
class Silk_Terms extends Silk_Gateway
{

    protected $_dao_class = 'Silk_Dao_Term';

    protected $_model_class = 'Silk_Term';

    protected $_primary_key = 'term_id';

    public function getSite($pTerm)
    {
        $term = $this->getModelObject($pTerm);

        $Sites = new Silk_Sites();

        return $Sites->fetch($term->site_id);
    }

    public function getTermTaxonomies($pTerm)
    {
        $term_id = $this->getModelObjectId($pTerm);

        $TermTaxonomys = new Silk_TermTaxonomys();

        return $TermTaxonomys->getTermTaxonomysForTerm($term_id);
    }


}

 ?>